package com.dz.content;

import org.modelmapper.ModelMapper;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.annotation.Bean;

/**
 * @ClassName :
 * @Description :
 * @Author : ming
 * @Date: 2020-11-30 15:33
 **/
@SpringCloudApplication
public class ContentApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(ContentApplication.class,args);
    }
    @Bean
    public ModelMapper modelMapper(){
        return new ModelMapper();
    }
}
